02. Introduction to Maven
Introduction to Maven
ND079 JPND C3 L2 A02 Introduction To Maven V3
Maven Phases
Maven organizes the build process into phases. Each phase represents a different step of the build lifecycle.
Executing a phase in maven will run all the preceding phases in order. When Maven reaches each phase, it will process all the goals attached to that phase.
**Phase: **A step in the Maven build process. Each phase is part of a lifecycle and contains many goals.
Goal: An action Maven should perform. The implementation of each goal is performed by a plugin.
**Lifecycle: **An ordered list of phases that Maven associates with creating a particular type of package.